

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using JYJ.AiYard.StationManagement.TbDigitalPaychk;

namespace JYJ.AiYard.EntityMapper.TbDigitalPaychks
{
    public class TbDigitalPaychkCfg : IEntityTypeConfiguration<TbDigitalPaychk>
    {
        public void Configure(EntityTypeBuilder<TbDigitalPaychk> builder)
        {

            builder.ToTable("Tb_DigitalPaychk", YoYoAbpefCoreConsts.SchemaNames.Dbo);
                
            
			builder.Property(a => a.Station_ID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.aud_0).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.aud_0_psw).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length16);
			builder.Property(a => a.aud_0_pswtype).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.aud_1).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.aud_1_psw).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.aud_1_pswtype).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.aud_2).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
			builder.Property(a => a.aud_2_psw).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.aud_2_pswtype).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64); 


            builder.Property(a => a.TenantId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreatorUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModifierUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModificationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.IsDeleted).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeleterUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeletionTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);


        }
    }
}


